3.461 \(\int \frac{\sin ^{\frac{9}{2}}(e+f x)}{\sqrt{b \sec (e+f x)}} \, dx\)

Optimal. Leaf size=115 \[ -\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}+\frac{7 \sqrt{\sin (e+f x)} E\left (\left .e+f x-\frac{\pi }{4}\right |2\right )}{20 f \sqrt{\sin (2 e+2 f x)} \sqrt{b \sec (e+f x)}} \]

[Out]

(-7*b*Sin[e + f*x]^(3/2))/(30*f*(b*Sec[e + f*x])^(3/2)) - (b*Sin[e + f*x]^(7/2))/(5*f*(b*Sec[e + f*x])^(3/2))
+ (7*EllipticE[e - Pi/4 + f*x, 2]*Sqrt[Sin[e + f*x]])/(20*f*Sqrt[b*Sec[e + f*x]]*Sqrt[Sin[2*e + 2*f*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.164466, antiderivative size = 115, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {2583, 2585, 2572, 2639} \[ -\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}+\frac{7 \sqrt{\sin (e+f x)} E\left (\left .e+f x-\frac{\pi }{4}\right |2\right )}{20 f \sqrt{\sin (2 e+2 f x)} \sqrt{b \sec (e+f x)}} \]

Antiderivative was successfully verified.

[In]

Int[Sin[e + f*x]^(9/2)/Sqrt[b*Sec[e + f*x]],x]

[Out]

(-7*b*Sin[e + f*x]^(3/2))/(30*f*(b*Sec[e + f*x])^(3/2)) - (b*Sin[e + f*x]^(7/2))/(5*f*(b*Sec[e + f*x])^(3/2))
+ (7*EllipticE[e - Pi/4 + f*x, 2]*Sqrt[Sin[e + f*x]])/(20*f*Sqrt[b*Sec[e + f*x]]*Sqrt[Sin[2*e + 2*f*x]])

Rule 2583

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> -Simp[(a*b*(a*Sin[
e + f*x])^(m - 1)*(b*Sec[e + f*x])^(n - 1))/(f*(m - n)), x] + Dist[(a^2*(m - 1))/(m - n), Int[(a*Sin[e + f*x])
^(m - 2)*(b*Sec[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, n}, x] && GtQ[m, 1] && NeQ[m - n, 0] && IntegersQ[2*
m, 2*n]

Rule 2585

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[(b*Cos[e + f*
x])^n*(b*Sec[e + f*x])^n, Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, m, n}, x] &&
 IntegerQ[m - 1/2] && IntegerQ[n - 1/2]

Rule 2572

Int[Sqrt[cos[(e_.) + (f_.)*(x_)]*(b_.)]*Sqrt[(a_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Dist[(Sqrt[a*Sin[e +
 f*x]]*Sqrt[b*Cos[e + f*x]])/Sqrt[Sin[2*e + 2*f*x]], Int[Sqrt[Sin[2*e + 2*f*x]], x], x] /; FreeQ[{a, b, e, f},
 x]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin{align*} \int \frac{\sin ^{\frac{9}{2}}(e+f x)}{\sqrt{b \sec (e+f x)}} \, dx &=-\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac{7}{10} \int \frac{\sin ^{\frac{5}{2}}(e+f x)}{\sqrt{b \sec (e+f x)}} \, dx\\ &=-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac{7}{20} \int \frac{\sqrt{\sin (e+f x)}}{\sqrt{b \sec (e+f x)}} \, dx\\ &=-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac{7 \int \sqrt{b \cos (e+f x)} \sqrt{\sin (e+f x)} \, dx}{20 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}\\ &=-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac{\left (7 \sqrt{\sin (e+f x)}\right ) \int \sqrt{\sin (2 e+2 f x)} \, dx}{20 \sqrt{b \sec (e+f x)} \sqrt{\sin (2 e+2 f x)}}\\ &=-\frac{7 b \sin ^{\frac{3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac{b \sin ^{\frac{7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac{7 E\left (\left .e-\frac{\pi }{4}+f x\right |2\right ) \sqrt{\sin (e+f x)}}{20 f \sqrt{b \sec (e+f x)} \sqrt{\sin (2 e+2 f x)}}\\ \end{align*}

Mathematica [C]  time = 0.536627, size = 86, normalized size = 0.75 \[ -\frac{b \left (42 \sqrt [4]{-\tan ^2(e+f x)} \, _2F_1\left (-\frac{1}{2},\frac{1}{4};\frac{1}{2};\sec ^2(e+f x)\right )-26 \cos (2 (e+f x))+3 \cos (4 (e+f x))+23\right )}{120 f \sqrt{\sin (e+f x)} (b \sec (e+f x))^{3/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[e + f*x]^(9/2)/Sqrt[b*Sec[e + f*x]],x]

[Out]

-(b*(23 - 26*Cos[2*(e + f*x)] + 3*Cos[4*(e + f*x)] + 42*Hypergeometric2F1[-1/2, 1/4, 1/2, Sec[e + f*x]^2]*(-Ta
n[e + f*x]^2)^(1/4)))/(120*f*(b*Sec[e + f*x])^(3/2)*Sqrt[Sin[e + f*x]])

________________________________________________________________________________________

Maple [B]  time = 0.118, size = 532, normalized size = 4.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(f*x+e)^(9/2)/(b*sec(f*x+e))^(1/2),x)

[Out]

-1/120/f*2^(1/2)*(12*cos(f*x+e)^6*2^(1/2)-38*2^(1/2)*cos(f*x+e)^4+42*cos(f*x+e)*(-(-1+cos(f*x+e)-sin(f*x+e))/s
in(f*x+e))^(1/2)*((-1+cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e))/sin(f*x+e))^(1/2)*EllipticE((-
(-1+cos(f*x+e)-sin(f*x+e))/sin(f*x+e))^(1/2),1/2*2^(1/2))-21*cos(f*x+e)*(-(-1+cos(f*x+e)-sin(f*x+e))/sin(f*x+e
))^(1/2)*((-1+cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e))/sin(f*x+e))^(1/2)*EllipticF((-(-1+cos(
f*x+e)-sin(f*x+e))/sin(f*x+e))^(1/2),1/2*2^(1/2))+42*(-(-1+cos(f*x+e)-sin(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f
*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e))/sin(f*x+e))^(1/2)*EllipticE((-(-1+cos(f*x+e)-sin(f*x+e))/
sin(f*x+e))^(1/2),1/2*2^(1/2))-21*(-(-1+cos(f*x+e)-sin(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e)+sin(f*x+e))/s
in(f*x+e))^(1/2)*((-1+cos(f*x+e))/sin(f*x+e))^(1/2)*EllipticF((-(-1+cos(f*x+e)-sin(f*x+e))/sin(f*x+e))^(1/2),1
/2*2^(1/2))+47*2^(1/2)*cos(f*x+e)^2-21*2^(1/2)*cos(f*x+e))/cos(f*x+e)/sin(f*x+e)^(1/2)/(b/cos(f*x+e))^(1/2)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin \left (f x + e\right )^{\frac{9}{2}}}{\sqrt{b \sec \left (f x + e\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^(9/2)/(b*sec(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sin(f*x + e)^(9/2)/sqrt(b*sec(f*x + e)), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (\cos \left (f x + e\right )^{4} - 2 \, \cos \left (f x + e\right )^{2} + 1\right )} \sqrt{b \sec \left (f x + e\right )} \sqrt{\sin \left (f x + e\right )}}{b \sec \left (f x + e\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^(9/2)/(b*sec(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

integral((cos(f*x + e)^4 - 2*cos(f*x + e)^2 + 1)*sqrt(b*sec(f*x + e))*sqrt(sin(f*x + e))/(b*sec(f*x + e)), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)**(9/2)/(b*sec(f*x+e))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin \left (f x + e\right )^{\frac{9}{2}}}{\sqrt{b \sec \left (f x + e\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^(9/2)/(b*sec(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sin(f*x + e)^(9/2)/sqrt(b*sec(f*x + e)), x)